.hljs {
    color: #545454;
    display: block;
    overflow-x: auto;
    padding: .5em;
}

.hljs-quote {
    color: #696969;
}

.hljs-deletion,
.hljs-name,
.hljs-regexp,
.hljs-selector-class,
.hljs-selector-id,
.hljs-tag,
.hljs-template-variable,
.hljs-variable {
    color: #d91e18;
}

.hljs-built_in,
.hljs-link,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-params,
.hljs-type {
    color: #aa5d00;
}

.hljs-attribute {
    color: #aa5d00;
}

.hljs-addition,
.hljs-bullet,
.hljs-comment,
.hljs-string,
.hljs-symbol {
    color: #008000;
}

.hljs-section,
.hljs-title {
    color: #007faa;
}

.hljs-keyword,
.hljs-selector-tag {
    color: #7928a1;
}

.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: 700;
}

@media screen and (-ms-high-contrast: active) {

    .hljs-addition,
    .hljs-attribute,
    .hljs-built_in,
    .hljs-bullet,
    .hljs-comment,
    .hljs-link,
    .hljs-literal,
    .hljs-meta,
    .hljs-number,
    .hljs-params,
    .hljs-quote,
    .hljs-string,
    .hljs-symbol,
    .hljs-type {
        color: highlight
    }

    .hljs-keyword,
    .hljs-selector-tag {
        font-weight: 700;
    }
}

pre.corepress-code-pre code {
    position: relative;
    border-radius: 5px;
    background: #fafafa;
    max-height: 500px;
    overflow: auto;
    padding: 10px 20px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace, sans-serif;
}

.corepress-code-pre:hover .code-bar {
    visibility: visible;
    opacity: 1;
}

.code-bar {
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px 10px;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

.code-bar-btn-copy {
    border: none;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 2px 5px;
    border-radius: 3px;
    cursor: pointer;
}

.code-bar-btn-copy-fonticon {
    cursor: pointer;
}

pre.corepress-code-pre {
    background-color: #fafafa;
    position: relative;
    border-radius: 4px;
    font-size: 14px;
    margin: 0;
    max-height: unset;
    overflow: unset;
    padding: 0;
}

.hljs ol {
    margin: 0 0 0 20px !important;
    padding: 0 !important;
}

.hljs ol>li {
    list-style: decimal-leading-zero;
    border-left: 1px solid #ddd !important;
    line-height: 14px;
    margin: 0 !important;
    padding: 5px !important;
    word-break: break-all;
    word-wrap: break-word;
}